what is the purpose of main function in c language